package com.mm.domain.user;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.mm.util.result.DBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * VIP等级表
 * </p>
 *
 * @author JueDream
 * @since 2021-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("d_level_info")
@ApiModel(value="DLevelInfo对象", description="VIP等级表")
public class DLevelInfo extends DBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "等级编号")
    @TableId(value = "level_id", type = IdType.AUTO)
    public Integer levelId;

    @ApiModelProperty(value = "等级名称")
    @TableField("level_name")
    public String levelName;

    @ApiModelProperty(value = "等级备注")
    @TableField("level_remark")
    public String levelRemark;

    public DLevelInfo(){}

    public DLevelInfo(Integer levelId, String levelName, String levelRemark) {
        this.levelId = levelId;
        this.levelName = levelName;
        this.levelRemark = levelRemark;
    }
}
